import request from '@/utils/request/index.js'

export default {
  login(data) {
    return request({
      url: '/login',
      method: 'POST',
      data
    },{
      isTransformResult: true,
      isShowSuccess: true,
      successMsgText: '登录成功',
      isShowError: true
    })
  }
}